package com.service.firstapp.bean;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by wjh on 2018/3/12.
 */
@XmlRootElement(name = "person")
public class Person {
    private String name;
    private String id;

    public void setName(String name) {
        this.name = name;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() { return id; }

    public String getName() {
        return name;
    }
}
